package com.yiwei.zxp.api.model;

import com.yiwei.zxp.api.bean.ResponModel;

import java.util.List;

/**
 * Created by xsooy-pc on 18-5-8.
 */

public class IndexModel extends ResponModel {

    /**
     * datas : {"user":{"username":"13800138001","realname":"","mobile":"","email":"","idno":null,"total":"0.00","freeze":"0.00","balance":"0.00","is_effect":1,"last_ip":"","last_time":null,"is_login":0,"is_vest":0},"shared_gold":{"today_gold":"216,660.23","total_gold":"399,456.26","total_location":"126,642","location":"4,658"},"combo":[{"id":1,"number":10,"price":"100.00","shared_gold":"5000.00","time_limit":150,"money":"998.00","photos":"http://pic36.photophoto.cn/20150814/0005018308986502_b.jpg","desc":""},{"id":2,"number":20,"price":"100.00","shared_gold":"10000.00","time_limit":150,"money":"1996.00","photos":"","desc":""}]}
     */

    public DatasBean datas;

    public static class DatasBean {
        /**
         * user : {"username":"13800138001","realname":"","mobile":"","email":"","idno":null,"total":"0.00","freeze":"0.00","balance":"0.00","is_effect":1,"last_ip":"","last_time":null,"is_login":0,"is_vest":0}
         * shared_gold : {"today_gold":"216,660.23","total_gold":"399,456.26","total_location":"126,642","location":"4,658"}
         * combo : [{"id":1,"number":10,"price":"100.00","shared_gold":"5000.00","time_limit":150,"money":"998.00","photos":"http://pic36.photophoto.cn/20150814/0005018308986502_b.jpg","desc":""},{"id":2,"number":20,"price":"100.00","shared_gold":"10000.00","time_limit":150,"money":"1996.00","photos":"","desc":""}]
         */

        public UserBean user;
        public SharedGoldBean shared_gold;
        public List<ComboListModel.DatasBean> combo;
        public List<Purpose> purpose;

        public static class Purpose {
            public String title;
            public String image;
            public String link;
        }


        public static class UserBean {
            /**
             * username : 13800138001
             * realname :
             * mobile :
             * email :
             * idno : null
             * total : 0.00
             * freeze : 0.00
             * balance : 0.00
             * is_effect : 1
             * last_ip :
             * last_time : null
             * is_login : 0
             * is_vest : 0
             */

            public String username;
            public String realname;
            public String mobile;
            public String email;
            public Object idno;
            public String total;
            public String freeze;
            public String balance;
            public int is_effect;
            public String last_ip;
            public Object last_time;
            public int is_login;
            public int is_vest;
        }

        public static class SharedGoldBean {
            /**
             * today_gold : 216,660.23
             * total_gold : 399,456.26
             * total_location : 126,642
             * location : 4,658
             */

            public String today_gold;
            public String total_gold;
            public String total_location;
            public String now_location;
            public String my_location;
            public String now_progress;
        }

    }
}
